<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_项目排列方式</title>
    <style>
        .container{
            background-color: lightgreen;
            display: flex;
            justify-content: center;
            justify-content: space-between;
            justify-content: space-around;
            justify-content: space-evenly;


            height: 500px;
            align-items: flex-start;
            align-items: flex-end;
            align-items: center;

        }
        .item{
            width: 100px;
            height: 100px;
            background-color: lightyellow;
            border: 3px solid deeppink;
            font-size: 45px;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="item">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
    <div class="item">4</div>
    <div class="item">5</div>
    <div class="item">6</div>
    <div class="item">7</div>
</div>

</body>
</html>